﻿using EasyClassServer.Application.App;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyClassServer.Application.Register
{
    class RegisterModel: BaseModel
    {
        protected override string TableName => "easyclass_user";
        public ErrorType Error { get; set; }
        public enum ErrorType
        {
            Success = 0,
            AlreadyExists = 1,
            WorngCode = 2
        }
    }
}
